package com.runing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lel
 * @since 2021-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RStudent对象", description="")
public class RStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学生id")
    @TableId(value = "sid", type = IdType.AUTO)
    private Integer sid;

    @ApiModelProperty(value = "学生姓名")
    private String sname;

    @ApiModelProperty(value = "班级id")
    private Integer clid;

    @ApiModelProperty(value = "学生性别")
    private String sex;

    @ApiModelProperty(value = "学生学号")
    private String snum;

    @ApiModelProperty(value = "课内成绩")
    private String inclass;

    @ApiModelProperty(value = "体测成绩")
    private String spe;

    @ApiModelProperty(value = "跑步成绩")
    private String srun;

    @ApiModelProperty(value = "学生密码")
    private String spassword;

    @ApiModelProperty(value = "学生头像")
    private String spicture;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean sdelete;

    @TableField(exist = false)
    private String clname;

    @TableField(exist = false)
    private String cname;
}
